package main

import (
	"DBNode"
	"GameMgrNode"
	"GameTable"
	"LobbyNode"

	"NetNode"

	"GameLogic"

	"git.oschina.net/yangdao/SGLisp"
	"git.oschina.net/yangdao/extlib/data_type"
	"git.oschina.net/yangdao/extlib/log"
)

func main() {
	SGLisp.InitRuntime()
	GameTable.Load("../../Common/Table/")
	GameLogic.Load()
	log.InitDefaultLogger(SGLisp.EvalValueFormFile("log_config.txt", SGLisp.MainContext).(data_type.IAssociative))

	GameMgrNode.New().Start()
	DBNode.New().Start()
	LobbyNode.New().Start()
	NetNode.New().Start()
}
